package org.cytoscape.myapp.my_cyaction_app.internal;

import java.util.List;
import java.util.Vector;

import org.cytoscape.application.CyApplicationManager;
import org.cytoscape.model.CyColumn;
import org.cytoscape.model.CyNetwork;
import org.cytoscape.model.CyNetworkFactory;
import org.cytoscape.model.CyNetworkManager;

public class CyNetworkRangeInteger extends CyFactoryNetworkAgregation{

	public static int MAX_RANGO_ENT = 150; 
	
	
	public CyNetworkRangeInteger(CyNetworkFactory networkFactory,CyApplicationManager appManager,
			CyNetworkManager networkManager, String attribute,int ampRange){
		
		super(networkFactory,appManager,networkManager,attribute);
		
		CyRangeCompose rangos = new CyRangeCompose();
		
		for(int i=1; i<=MAX_RANGO_ENT;i= i+ampRange){
			rangos.AddRank(new CyRangeInteger(i, i+ampRange-1));
		}
		
		this.setRangos(rangos);
	}
    	

}
